const SentryCliPlugin = require("@sentry/webpack-plugin");
module.exports = function override(config, env) {
  config.devtool = "source-map";
  config.plugins.push(
    new SentryCliPlugin({
      release: "0.0.3",
      authToken:
        "b51c46ed573e497bb1c76f6326dd4aaf7d70e9be606049f1a75a51b8ce6ba15a",
      url: "http://localhost:9000",
      org: "sentry",
      project: "react-app",
      urlPrefix: "~/",
      include: "./build",
      ignore: ["node_modules"],
    })
  );
  return config;
};
